package cn.lili.modules.distribution.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.distribution.client.DistributionGoodsClient;
import cn.lili.modules.distribution.entity.dos.DistributionGoods;
import cn.lili.modules.distribution.entity.dto.DistributionGoodsSearchParams;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: ftyy
 * @date: 2022-01-13 15:15
 * @description: 商品服务分销商品Fallback
 */
public class DistributionGoodsFallback implements DistributionGoodsClient {
  @Override
  public List<DistributionGoods> distributionGoods(List<String> skuIds) {
    throw new ServiceException();
  }

  @Override
  public DistributionGoods getDistributionGoods(DistributionGoodsSearchParams searchParams) {
    throw new ServiceException();
  }

  @Override
  public void removeById(String id) {
    throw new ServiceException();
  }

  @Override
  public void distributionCheckGoods(String skuId) {
    throw new ServiceException();
  }

  @Override
  public void distributionCheckGoodsAndStoreId(String skuId, String storeId) {
    throw new ServiceException();
  }
}
